package com.imooc.SmartChargeStation.demo.netty.util;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * author: Imooc
 * description: 常量工具类
 * date: 2024
 */
@Component
@Data
public class ConstantUtil {

//    public final static String HOST = "Netty";
//    public final static int PORT = 1919;


    @Value("${Netty.server.port}")
    public int PORT;

    @Value("${Netty.server.host}")
    public String HOST;

}
